<?php	
	session_start();
	
	unset($_SESSION['opcion']);
	if ( !isset($_SESSION['opcion']) ) {
		$_SESSION['opcion'] = 5;
	}
	
	include_once('../includes/encabezado.php');
?>
  
            
                <td width="100%" valign="top" class="rightcolumn" valign="middle" height="500px">
                	<br/>
                    <table width="90%" align="center" cellpadding="0" cellspacing="0">
                          	<tr>
                            	<td valign="top">
                                	<table width="100%" align="center" cellpadding="0" cellspacing="0">
                                		<tr>
                                 			<td height="43" align="left" valign="top" class="leftcolumn">
                                            	<div align="left">
                                                	<img src="../../publicos/imagenes/pagina/titlebar.gif" editor="Webstyle4" moduleid="intranet_mytcalvo_index (Project)\../../publicos/imagenes/pagina/titlebar.xws" border="0" />
                                                </div>
                                           	</td>
                                            <td valign="top">
                                            	<img src="../../publicos/imagenes/pagina/spacer.gif" editor="Webstyle4" moduleid="intranet_mytcalvo_index (Project)\../../publicos/imagenes/pagina/spacer.xws" border="0" />
                                          	</td>
                                          	<td width="100%" valign="top" class="hnavbg">
                                            	<img src="../../publicos/imagenes/pagina/mostrar_heading.gif" editor="Webstyle4" moduleid="intranet_mytcalvo_index (Project)\../../publicos/imagenes/pagina/buscar_heading.xws" border="0" />
                                          	</td>
                                          	<td valign="top" class="rightcolumn">
                                            	<img src="../../publicos/imagenes/pagina/top_right.gif" editor="Webstyle4" moduleid="intranet_mytcalvo_index (Project)\../../publicos/imagenes/pagina/top_right.xws" border="0" />
                                          	</td>
                                		</tr>
                              		</table> 
                              	</td>
                          	</tr>
                            
                            <tr>
                            	<td class="rightcolumn">
                                	<table width="100%" cellspacing="0" cellpadding="0">
                                		<tr>
                                            <td class="leftcolumn" colspan="2">
                                                <br/>
                                            </td>						
                                        </tr>
                                        <tr>
                                            <td class="leftcolumn1" align="right" width="20%">
                                                <b>ID Art&iacute;culo: </b>
                                            </td>
                                            <td class="paneltext" align="left" width="80%">
                                            	&nbsp;&nbsp;
                                                <b>
                                                <?php 
													$articulo_mostrar = $_SESSION['articulo_mostrar'];	
													$id_articulo = $articulo_mostrar[0][0].$articulo_mostrar[0][1].$articulo_mostrar[0][2];
													echo $id_articulo;
												?>
                                                </b>
                                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                <?php 
													$articulo_mostrar = $_SESSION['articulo_mostrar'];	
													echo "<input type='image' src='../../publicos/imagenes/pagina/pdf.gif' alt='PDF' onclick='parent.location=\"../../controladores/articulo_controller.php?id_articulo=".$id_articulo."&pdf=si\"'/>";
												?>
                                               	
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="leftcolumn" colspan="2">
                                                <br/>
                                            </td>						
                                        </tr>
                                        <tr>
                                            <td class="leftcolumn1" align="right">
                                                Tipo de Art&iacute;culo:
                                            </td>
                                            <td class="paneltext" align="left">
                                            	&nbsp;&nbsp;
                                                <?php 
													$articulo_mostrar = $_SESSION['articulo_mostrar'];	
													echo $articulo_mostrar[0][0]." - ".$articulo_mostrar[0][7];
												?> 
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="leftcolumn" colspan="2">
                                                <br/>
                                            </td>						
                                        </tr>
                                        <tr>
                                            <td class="leftcolumn1" align="right">
                                                SubTipo de Art&iacute;culo:
                                            </td>
                                            <td class="paneltext" align="left">
                                            	&nbsp;&nbsp;
                                                <?php 
													$articulo_mostrar = $_SESSION['articulo_mostrar'];	
													echo $articulo_mostrar[0][1]." - ".$articulo_mostrar[0][8];
												?> 
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="leftcolumn" colspan="2">
                                                <br/>
                                            </td>						
                                        </tr>                                        
                                        <tr>
                                            <td class="leftcolumn1" align="right" >
                                                Nombre:
                                            </td>
                                            <td class="paneltext" align="left">
                                            	&nbsp;&nbsp;
                                                <?php 
													$articulo_mostrar = $_SESSION['articulo_mostrar'];	
													echo $articulo_mostrar[0][3];
												?>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="leftcolumn" colspan="2">
                                                <br/>
                                            </td>						
                                        </tr>
                                        <tr>
                                            <td class="leftcolumn1" align="right">
                                                Descripci&oacute;n:
                                            </td>
                                            <td class="paneltext" align="left">
                                            	&nbsp;&nbsp;						
                                                <?php 
													$articulo_mostrar = $_SESSION['articulo_mostrar'];	
													echo $articulo_mostrar[0][4];
												?>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="leftcolumn" colspan="2">
                                                <br/>
                                            </td>						
                                        </tr>
                                        <tr>
                                            <td class="leftcolumn1" align="right">
                                                Medidas:
                                            </td>
                                            <td class="paneltext" align="left">
                                            	&nbsp;&nbsp;
                                                <?php 
													$articulo_mostrar = $_SESSION['articulo_mostrar'];	
													echo $articulo_mostrar[0][5];
												?>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="leftcolumn" colspan="2">
                                                <br/>
                                            </td>						
                                        </tr>
                                        <tr>
                                            <td class="leftcolumn1" align="right">
                                                Precio:
                                            </td>
                                            <td class="paneltext" align="left">
                                            	&nbsp;&nbsp;
                                                <b>
                                                <?php 
													$articulo_mostrar = $_SESSION['articulo_mostrar'];	
													echo $articulo_mostrar[0][6];
												?>
                                                &nbsp;BsF.</b> - Fecha Modificaci&oacute;n: 
                                                <?php
													echo $_SESSION['fecha_variable_precio'];
												?>
                                            </td>
                                        </tr>
                                        
                                        <tr>
                                            <td class="leftcolumn" colspan="2">
                                                <br/>
                                            </td>						
                                        </tr>
                                        
                                        <tr>
                                            <td class="fondo" colspan="2" align="center"><b>Dise&ntilde;o</b></td>
                                        </tr>
                                        
                                        <tr>
                                            <td class="leftcolumn" colspan="2">
                                                <br/>
                                            </td>						
                                        </tr>
                                        
                                        <tr>
                                            <td class="leftcolumn1" align="right">
                                                Foto:
                                            </td>
                                            <td class="paneltext" align="center">
                                                <?php 
													$articulo_mostrar = $_SESSION['articulo_mostrar'];	
													echo '<img src="../../publicos/imagenes/articulos/'.$id_articulo.'.jpg"/>';
												?>
                                            </td>
                                        </tr>
                                        
                                        <tr>
                                            <td class="leftcolumn" colspan="2">
                                                <br/>
                                            </td>						
                                        </tr>
                                        
                                        <tr>
                                            <td class="leftcolumn1" align="right">
                                                Medidas:
                                            </td>
                                            <td class="paneltext" align="center">
                                                <?php 
													$articulo_mostrar = $_SESSION['articulo_mostrar'];	
													echo '<img src="../../publicos/imagenes/articulos_medidas/'.$id_articulo.'.jpg"/>';
												?>
                                            </td>
                                        </tr>
                                        
                                        <tr>
                                            <td class="leftcolumn" colspan="2">
                                                <br/>
                                            </td>						
                                        </tr>
                                        
                                        <tr>
                                            <td class="leftcolumn1" align="right">
                                                Desgloce:
                                            </td>
                                            <td class="paneltext" align="center">
                                                <?php 
													$articulo_mostrar = $_SESSION['articulo_mostrar'];	
													echo '<img src="../../publicos/imagenes/articulos_desgloce/'.$id_articulo.'.jpg"/>';
													
													if ( $id_articulo == "030112" ) {
														echo "<br/><br/>";
														echo '<img src="../../publicos/imagenes/articulos_desgloce/'.$id_articulo.'_2.jpg"/>';
													}
												?>
                                            </td>
                                        </tr>
                                        
                                        <tr>
                                            <td class="leftcolumn" colspan="2">
                                                <br/>
                                            </td>						
                                        </tr>
                                        
                              		</table>    
                                </td>
                            </tr>
                            
                          	<tr>
                            	<td valign="top">
                            		<table width="100%" cellspacing="0" cellpadding="0">
                                		<tr>
                                            <td width="55" valign="top">
                                                <img src="../../publicos/imagenes/pagina/bottom_left2.gif" editor="Webstyle4" moduleid="intranet_mytcalvo_index (Project)\../../publicos/imagenes/pagina/bottom_left2.xws" border="0" />
                                            </td>
                                            <td valign="top" class="footer">&nbsp;
                                                
                                            </td>
                                            <td width="55" valign="top">
                                                <img src="../../publicos/imagenes/pagina/bottom_right.gif" editor="Webstyle4" moduleid="intranet_mytcalvo_index (Project)\../../publicos/imagenes/pagina/bottom_right.xws" border="0" />
                                            </td>
                                		</tr>
                              		</table>
                              	</td>
                          	</tr>
                        </tbody>
                    </table>
                    <br/>
                     
                </td>
            </tr>
            
<?php
	include_once('../includes/pie.php'); 
?>